package com.community.shop.mapper;

import com.community.shop.entity.vo.AddressVo;
import com.community.shop.entity.vo.GoodSkuVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ShopMapper {

    /**
     * 查找地区
     * @return
     */
    List<AddressVo> findLocal();

    /**
     * 添加地区
     * @param addressVos
     */
    void addLocalAddress(@Param("addressVos") List<AddressVo> addressVos);

    /**
     * 查找是否添加
     * @return
     */
    int findLocalCount();

    /**
     * 查找商品sku信息存入excel
     * @return
     */
    List<GoodSkuVo> findGoodSkuVoList();

}
